package com.atguigu.gmall.order.service;

import com.atguigu.gmall.model.order.OrderDetail;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @Description: TODO
 * @Author: Mr.Cao
 * @DateTime: 2021/10/21 15:01
 * BMW F750GS
 **/
public interface OrderService {
    Map trade(HttpServletRequest request);

    //检验库存
    boolean hasStock(OrderDetail orderDetail);
}
